package com.cloudshop.service.common.enums;

/**
 * 请求相关枚举类.
 *
 * @author 宫新程
 * @since 2019/3/29 19:28
 */
public enum RequestEnum {

    /**
     * 请求相关枚举类.
     */
    REQUEST_ID("request-id", "请求id"),
    TOKEN("Authorization", "token信息"),
    USER_AGENT("user-agent", "user-agent"),
    HOST("host", "host"),
    FROM_SYSTEM("fromSystem", "上级工程名");

    private String code;
    private String value;

    RequestEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }
}
